/**
 * @author Robot , All Rights Reserved
 * Created On 2015年5月9日,上午1:04:27
 */
package com.dsh.vegetable.entity;

/**
 * @author robot
 *
 */
public class Vegetable {
	 private java.lang.Integer id;  //primary key
	 private java.lang.Integer  shop_id	;//餐厅id
	 private java.lang.Integer  group_id ;//分组id
	 private java.util.Date  create_date ;
	 private java.util.Date  update_date;
	 private java.lang.Integer create_id ;//创建人
	 private java.lang.Integer  update_id;//更新人
	 private java.lang.String  vegetable_name ;//菜品名称
	 private java.lang.String vegetable_introduction;//菜品介绍
	 private java.lang.String is_sale; //是否打折 
	 private java.lang.Double sale_rate ;//打折基数
	 private java.lang.Integer is_recommend ;//是否为推荐菜品  1.不是  2.是
	 private java.lang.Integer click_num;//被点次数
	 private java.lang.Double price ;//菜品单价
	 
	 
	public Vegetable(Integer id, Integer shop_id, Integer group_id) {
		super();
		this.id = id;
		this.shop_id = shop_id;
		this.group_id = group_id;
	}
	public Vegetable() {
		super();
	}
	/**
	 * @return the id
	 */
	public java.lang.Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(java.lang.Integer id) {
		this.id = id;
	}
	/**
	 * @return the shop_id
	 */
	public java.lang.Integer getShop_id() {
		return shop_id;
	}
	/**
	 * @param shop_id the shop_id to set
	 */
	public void setShop_id(java.lang.Integer shop_id) {
		this.shop_id = shop_id;
	}
	/**
	 * @return the group_id
	 */
	public java.lang.Integer getGroup_id() {
		return group_id;
	}
	/**
	 * @param group_id the group_id to set
	 */
	public void setGroup_id(java.lang.Integer group_id) {
		this.group_id = group_id;
	}
	/**
	 * @return the create_date
	 */
	public java.util.Date getCreate_date() {
		return create_date;
	}
	/**
	 * @param create_date the create_date to set
	 */
	public void setCreate_date(java.util.Date create_date) {
		this.create_date = create_date;
	}
	/**
	 * @return the update_date
	 */
	public java.util.Date getUpdate_date() {
		return update_date;
	}
	/**
	 * @param update_date the update_date to set
	 */
	public void setUpdate_date(java.util.Date update_date) {
		this.update_date = update_date;
	}
	/**
	 * @return the create_id
	 */
	public java.lang.Integer getCreate_id() {
		return create_id;
	}
	/**
	 * @param create_id the create_id to set
	 */
	public void setCreate_id(java.lang.Integer create_id) {
		this.create_id = create_id;
	}
	/**
	 * @return the update_id
	 */
	public java.lang.Integer getUpdate_id() {
		return update_id;
	}
	/**
	 * @param update_id the update_id to set
	 */
	public void setUpdate_id(java.lang.Integer update_id) {
		this.update_id = update_id;
	}
	/**
	 * @return the vegetable_name
	 */
	public java.lang.String getVegetable_name() {
		return vegetable_name;
	}
	/**
	 * @param vegetable_name the vegetable_name to set
	 */
	public void setVegetable_name(java.lang.String vegetable_name) {
		this.vegetable_name = vegetable_name;
	}
	/**
	 * @return the vegetable_introduction
	 */
	public java.lang.String getVegetable_introduction() {
		return vegetable_introduction;
	}
	/**
	 * @param vegetable_introduction the vegetable_introduction to set
	 */
	public void setVegetable_introduction(java.lang.String vegetable_introduction) {
		this.vegetable_introduction = vegetable_introduction;
	}
	/**
	 * @return the is_sale
	 */
	public java.lang.String getIs_sale() {
		return is_sale;
	}
	/**
	 * @param is_sale the is_sale to set
	 */
	public void setIs_sale(java.lang.String is_sale) {
		this.is_sale = is_sale;
	}
	/**
	 * @return the sale_rate
	 */
	public java.lang.Double getSale_rate() {
		return sale_rate;
	}
	/**
	 * @param sale_rate the sale_rate to set
	 */
	public void setSale_rate(java.lang.Double sale_rate) {
		this.sale_rate = sale_rate;
	}
	/**
	 * @return the is_recommend
	 */
	public java.lang.Integer getIs_recommend() {
		return is_recommend;
	}
	/**
	 * @param is_recommend the is_recommend to set
	 */
	public void setIs_recommend(java.lang.Integer is_recommend) {
		this.is_recommend = is_recommend;
	}
	/**
	 * @return the click_num
	 */
	public java.lang.Integer getClick_num() {
		return click_num;
	}
	/**
	 * @param click_num the click_num to set
	 */
	public void setClick_num(java.lang.Integer click_num) {
		this.click_num = click_num;
	}
	/**
	 * @return the price
	 */
	public java.lang.Double getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(java.lang.Double price) {
		this.price = price;
	}
	 
	 
	 
	 
}
